const Router = require('koa-router')
const router = new Router()
const users = require('./users')
const webData = require('./webData')
const getImg = require('./getImg')
const relation = require('./relation')
const plate = require('./plate')

router.use(users.routes(), users.allowedMethods())
router.use(webData.routes(), webData.allowedMethods())
router.use(getImg.routes(), getImg.allowedMethods())
router.use(relation.routes(), relation.allowedMethods())
router.use(plate.routes(), plate.allowedMethods())

//导出给app.js使用
module.exports = router;